package com.ruoyi.tongban.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 电视设备表对象 face_tv_device
 * 
 * @author ruoyi
 * @date 2021-04-21
 */
public class FaceTvDevice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 电视设备ID */
    private Long tvDeviceId;

    /** 电视设备号 */
    @Excel(name = "电视设备号")
    private String tvSn;

    /** 电视所属机构id */
    @Excel(name = "电视所属机构id")
    private Long tvDeptId;

    /** 机构名称 */
    @Excel(name = "机构名称")
    private String tvDeptName;

    /** 年级ID */
    @Excel(name = "年级ID")
    private Long tvGradeId;

    /** 年级名称 */
    @Excel(name = "年级名称")
    private String tvGradeName;

    /** 班级ID */
    @Excel(name = "班级ID")
    private Long tvClassId;

    /** 班级名称 */
    @Excel(name = "班级名称")
    private String tvClassName;

    private Long institutionId;

    private Long gradeId;

    private Long classId;

    public void setTvDeviceId(Long tvDeviceId) 
    {
        this.tvDeviceId = tvDeviceId;
    }

    public Long getTvDeviceId() 
    {
        return tvDeviceId;
    }
    public void setTvSn(String tvSn) 
    {
        this.tvSn = tvSn;
    }

    public String getTvSn() 
    {
        return tvSn;
    }
    public void setTvDeptId(Long tvDeptId) 
    {
        this.tvDeptId = tvDeptId;
    }

    public Long getTvDeptId() 
    {
        return tvDeptId;
    }
    public void setTvDeptName(String tvDeptName) 
    {
        this.tvDeptName = tvDeptName;
    }

    public String getTvDeptName() 
    {
        return tvDeptName;
    }
    public void setTvGradeId(Long tvGradeId) 
    {
        this.tvGradeId = tvGradeId;
    }

    public Long getTvGradeId() 
    {
        return tvGradeId;
    }
    public void setTvGradeName(String tvGradeName) 
    {
        this.tvGradeName = tvGradeName;
    }

    public String getTvGradeName() 
    {
        return tvGradeName;
    }
    public void setTvClassId(Long tvClassId) 
    {
        this.tvClassId = tvClassId;
    }

    public Long getTvClassId() 
    {
        return tvClassId;
    }
    public void setTvClassName(String tvClassName) 
    {
        this.tvClassName = tvClassName;
    }

    public String getTvClassName() 
    {
        return tvClassName;
    }

    public Long getInstitutionId() {
        return institutionId;
    }

    public void setInstitutionId(Long institutionId) {
        this.institutionId = institutionId;
    }

    public Long getGradeId() {
        return gradeId;
    }

    public void setGradeId(Long gradeId) {
        this.gradeId = gradeId;
    }

    public Long getClassId() {
        return classId;
    }

    public void setClassId(Long classId) {
        this.classId = classId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("tvDeviceId", getTvDeviceId())
            .append("tvSn", getTvSn())
            .append("tvDeptId", getTvDeptId())
            .append("tvDeptName", getTvDeptName())
            .append("tvGradeId", getTvGradeId())
            .append("tvGradeName", getTvGradeName())
            .append("tvClassId", getTvClassId())
            .append("tvClassName", getTvClassName())
            .append("createTime", getCreateTime())
            .toString();
    }
}
